from django.conf.urls import include, url
from .views import *

urlpatterns = [
    url(r'^overview/$', WorkFlowOverView.as_view(), name='overview'),
    url(r'^add_workflow/$', AddWorkFlowView.as_view(), name='add_workflow'),
    url(r'^add_node/$', AddNodeView.as_view(), name='add_node'),
    url(r'^add_nodeprocess/$', AddNodeProcessView.as_view(), name='add_nodeprocess'),
    url(r'^get_nodeprocess_form/$', GetNodeProcessForm.as_view(), name='get_nodeprocess_form'),
    url(r'^delete_node/$', DeleteNodeViews.as_view(), name='delete_node'),
    url(r'^delete_nodeprocess/$', DeleteNodeProcessViews.as_view(), name='delete_nodeprocess'),
    url(r'^approval/$', WorkFlowApprovalView.as_view(), name='approval'),
    url(r'^create_history/$', CreateHistory.as_view(), name='create_history'),
    url(r'^update_history/$', UpdateHistory.as_view(), name='update_history'),
    url(r'^open_or_close/$', OpenOrClose.as_view(), name='open_or_close'),
]
